package com.free.framework.lib.utils;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;

/**
 * @author luchao
 * @time 16/10/31 下午12:03
 */

public class PhoneUtil {

    public static void callFire(Context context, String number) {
        Intent intent = new Intent(Intent.ACTION_DIAL);
        Uri data = Uri.parse("tel:" + number);
        intent.setData(data);
        context.startActivity(intent);
    }
}
